[INFO] cloning repository https://github.com/paullee-me/redisproxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paullee-me/redisproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullee-me%2Fredisproxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullee-me%2Fredisproxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9c6e41a7c50f73fdd4d9090ec044b4177fe420d
[INFO] testing paullee-me/redisproxy against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaullee-me%2Fredisproxy" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/paullee-me/redisproxy on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/paullee-me/redisproxy
[INFO] finished tweaking git repo https://github.com/paullee-me/redisproxy
[INFO] tweaked toml for git repo https://github.com/paullee-me/redisproxy written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/paullee-me/redisproxy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2adff94ce73f88665e2eef016bf0cf33b62530be88f83bf3c86fbe4905bcf212
[INFO] running `Command { std: "docker" "start" "-a" "2adff94ce73f88665e2eef016bf0cf33b62530be88f83bf3c86fbe4905bcf212", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2adff94ce73f88665e2eef016bf0cf33b62530be88f83bf3c86fbe4905bcf212", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2adff94ce73f88665e2eef016bf0cf33b62530be88f83bf3c86fbe4905bcf212", kill_on_drop: false }`
[INFO] [stdout] 2adff94ce73f88665e2eef016bf0cf33b62530be88f83bf3c86fbe4905bcf212
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6a6b795c20ca768c5d7e020e4ae3d27de435d7bda77092ece6a08cb35ed1f9e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f6a6b795c20ca768c5d7e020e4ae3d27de435d7bda77092ece6a08cb35ed1f9e", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling redisproxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/backdb.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/backdb.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::task;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/main.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         tokio::spawn(async move {
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/backdb.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     stream: TcpStream,
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/backdb.rs:26:73
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn add_ins(&mut self, addr: String, auth: String, role: u8, stream: TcpStream) {
[INFO] [stdout]    |                                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]  --> src/main.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let listener = TcpListener::bind("127.0.0.1:8080").await?;
[INFO] [stdout]   |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::TcpListener;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]  --> src/opt.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Arg, App, SubCommand};
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::io::file_exists`
[INFO] [stdout]  --> src/opt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::io::file_exists;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/backdb.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redisproxy` due to 11 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f6a6b795c20ca768c5d7e020e4ae3d27de435d7bda77092ece6a08cb35ed1f9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6a6b795c20ca768c5d7e020e4ae3d27de435d7bda77092ece6a08cb35ed1f9e", kill_on_drop: false }`
[INFO] [stdout] f6a6b795c20ca768c5d7e020e4ae3d27de435d7bda77092ece6a08cb35ed1f9e
